﻿@model HRM.DAL.DAO.Contact

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Contact</legend>

    <div class="display-label">Employee</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Employee.Name)
    </div>

    <div class="display-label">FirstContact</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.FirstContact)
    </div>

    <div class="display-label">Secondcontact</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Secondcontact)
    </div>

    <div class="display-label">EmergencyContactPerson</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EmergencyContactPerson)
    </div>

    <div class="display-label">EmergencyContactNumber</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EmergencyContactNumber)
    </div>

    <div class="display-label">PresentAddress</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PresentAddress)
    </div>

    <div class="display-label">PermanentAddress</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PermanentAddress)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" class="submitButton" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
